package com.slf.entity;

import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;

import java.io.Serializable;

/**
 * 角色表(Role)表实体类
 *
 * @author SLF
 * @since 2023-03-30 16:33:44
 */
@Data
public class Role extends Model<Role> {
    //id
    private Long id;
    //手机号
    private String roleName;
    //角色头像
    private String roPicPath;
    //说明
    private String notes;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getRoleName() {
        return roleName;
    }

    public void setRoleName(String roleName) {
        this.roleName = roleName;
    }

    public String getRoPicPath() {
        return roPicPath;
    }

    public void setRoPicPath(String roPicPath) {
        this.roPicPath = roPicPath;
    }

    public String getNotes() {
        return notes;
    }

    public void setNotes(String notes) {
        this.notes = notes;
    }

    /**
     * 获取主键值
     *
     * @return 主键值
     */
    @Override
    protected Serializable pkVal() {
        return this.id;
    }
}

